/* ===================================================
   JM ENGINEERING & TECHNICAL SERVICES
   Production Stylesheet · v1.0.0
   Industrial Dark Theme · Molten Orange Accents
   =================================================== */

:root {
  --bg-primary:        #111827;
  --bg-secondary:      #1F2937;
  --bg-card:           #1F2937;
  --bg-elevated:       #263347;
  --accent-orange:     #f97316;
  --accent-orange-2:   #fb923c;
  --accent-orange-dark:#ea6500;
  --accent-glow:       rgba(249, 115, 22, 0.12);
  --accent-soft:       rgba(249, 115, 22, 0.08);
  --steel-blue:        #9CA3AF;
  --text-primary:      #F9FAFB;
  --text-muted:        #9CA3AF;
  --text-dim:          #6B7280;
  --border:            #374151;
  --border-strong:     #4B5563;
  --gradient-hero:     linear-gradient(180deg, #111827 0%, #1a2538 100%);
  --max:               1280px;
  --ease:              cubic-bezier(0.16, 1, 0.3, 1);
  --font-display:      "Bebas Neue", Impact, sans-serif;
  --font-body:         "Barlow", system-ui, -apple-system, sans-serif;
  --font-mono:         "JetBrains Mono", "SF Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; background: var(--bg-primary); }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-orange);
  color: #000;
  padding: 12px 20px;
  z-index: 10000;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Visually hidden but accessible to screen readers and search engines */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #111827; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-orange), var(--accent-orange-dark));
  border: 2px solid #111827;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-orange-2); }
::selection { background: var(--accent-orange); color: #000; }

/* ========== UTILITIES ========== */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.text-accent { color: var(--accent-orange); }
.text-muted  { color: var(--text-muted); }
.mono        { font-family: var(--font-mono); }
.text-center { text-align: center; }

/* Grain overlay */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========== TOP BAR ========== */
.top-bar {
  background: #0d1220;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left, .top-bar-right { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.top-bar-item:hover { color: var(--accent-orange); }
.top-bar-item svg { color: var(--accent-orange); }

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s, background 0.3s;
}
.header.scrolled { background: rgba(17, 24, 39, 0.98); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max);
  margin: 0 auto;
  transition: padding 0.3s;
}
.header.scrolled .header-inner { padding: 10px 32px; }

.logo { display: flex; align-items: center; gap: 12px; transition: opacity 0.2s; }
.logo:hover { opacity: 0.9; }
.logo-mark {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
  color: #fff;
  padding: 4px 10px;
  line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-family: var(--font-display); font-size: 17px; letter-spacing: 3px; color: var(--text-primary); }
.logo-sub   { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; color: var(--text-muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 99;
}
.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: block;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-elevated);
  color: var(--accent-orange);
  border-left-color: var(--accent-orange);
  padding-left: 24px;
}
.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 6px;
  z-index: 101;
}
.hamburger span { display: block; height: 2px; background: var(--text-primary); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-sm  { padding: 10px 18px; font-size: 11px; }
.btn-lg  { padding: 18px 32px; font-size: 14px; }
.btn-full{ width: 100%; }

.btn-primary {
  background: var(--accent-orange);
  color: #0a0a0c;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-primary:hover { box-shadow: 0 0 36px var(--accent-glow); transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: var(--accent-soft);
}

.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ========== BREADCRUMBS ========== */
.breadcrumbs-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent-orange); }
.breadcrumbs .bc-sep { color: var(--accent-orange); }
.breadcrumbs [aria-current] { color: var(--accent-orange); }

/* ========== HERO (homepage) ========== */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 80px 0;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(138, 155, 176, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 176, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: 50%; right: -200px;
  transform: translateY(-50%);
  pointer-events: none;
  filter: blur(60px);
  opacity: 0;
}
.hero-content { position: relative; z-index: 2; }
.hero-illustration {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 820px;
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 60px rgba(249, 115, 22, 0.15));
  mask-image: linear-gradient(90deg, transparent 0%, black 25%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 25%, black 100%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-orange);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hero-eyebrow .line { width: 60px; height: 1px; background: var(--accent-orange); }
.eyebrow-text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 4px; color: var(--accent-orange); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 200px);
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-title-row {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, #8a9bb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title-row:last-child::after {
  content: ".";
  color: var(--accent-orange);
  -webkit-text-fill-color: var(--accent-orange);
}
.hero-tagline {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  max-width: 800px;
}
.hero-sub { font-size: 16px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 40px; }
.hero-sub .dot { color: var(--accent-orange); margin: 0 8px; font-weight: 700; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
  position: relative;
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at 80% 30%, rgba(249, 115, 22, 0.08), transparent 50%),
    var(--gradient-hero);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(138, 155, 176, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 176, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-tag { margin-bottom: 24px; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: -1px;
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 1000px;
}
.page-hero-lead {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.6;
}
.page-hero.has-illustration { overflow: hidden; }
.page-hero.has-illustration .container { max-width: 1100px; }
.page-hero.has-illustration .page-hero-title,
.page-hero.has-illustration .page-hero-lead { max-width: 680px; }
.page-hero-illustration {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  max-width: 720px;
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(90deg, transparent 0%, black 30%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 30%, black 100%);
  filter: drop-shadow(0 0 40px rgba(249, 115, 22, 0.1));
}

/* ========== MARQUEE ========== */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--text-muted);
}
.marquee-track .sep { color: var(--accent-orange); font-size: 12px; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTION BASE ========== */
.section {
  padding: 120px 0;
  position: relative;
  border-top: 1px solid var(--border);
}
.section-head {
  margin-bottom: 72px;
  max-width: 900px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent-orange);
  margin-bottom: 20px;
  padding-left: 24px;
  position: relative;
  text-transform: uppercase;
}
.section-tag::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 14px; height: 1px; background: var(--accent-orange);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 78px);
  line-height: 0.95;
  letter-spacing: -1px;
  font-weight: 400;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.6;
}

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== STATS ========== */
.stats-strip { background: var(--bg-secondary); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.stat {
  padding: 36px 28px;
  text-align: left;
  border-right: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  transition: background 0.3s var(--ease);
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg-elevated); }
.stat::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.stat:hover::before { transform: scaleX(1); }
.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--text-primary);
  display: inline-block;
}
.stat-plus {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent-orange);
  vertical-align: top;
  margin-left: 2px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 14px;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ========== ABOUT GRID ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.about-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; line-height: 1.7; }
.about-lead { font-size: 22px !important; color: var(--text-primary) !important; line-height: 1.5; font-weight: 500; }
.about-content strong { color: var(--text-primary); font-weight: 700; }
.about-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.about-pills li {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}
.about-image-stack {
  display: flex; flex-direction: column; gap: 16px;
}
.about-feature-card {
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-orange);
}
.about-feature-card h3 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.about-feature-card p { color: var(--text-muted); font-size: 14px; }

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.service-card {
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  transition: background 0.4s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { background: var(--bg-elevated); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-icon { color: var(--accent-orange); transform: rotate(-8deg) scale(1.08); }
.service-num {
  position: absolute; top: 24px; right: 32px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim); letter-spacing: 2px;
}
.service-icon {
  width: 60px; height: 60px;
  color: var(--text-primary);
  margin-bottom: 24px;
  transition: color 0.3s, transform 0.4s var(--ease);
}
.service-icon svg { width: 100%; height: 100%; }
.service-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.service-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
.service-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}
.service-list li {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1.5px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-list li::before { content: "▸"; position: absolute; left: 0; color: var(--accent-orange); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-orange);
  margin-top: auto;
  transition: gap 0.3s;
}
.service-link:hover { gap: 14px; }

/* ========== SERVICE CARD WITH IMAGE ========== */
.service-card.has-image { padding: 0; overflow: hidden; }
.service-card.has-image .service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.08), transparent 70%),
    var(--bg-secondary);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.service-card.has-image .service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(17, 24, 39, 0.6) 100%);
  pointer-events: none;
}
.service-card.has-image .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.service-card.has-image:hover .service-image img { transform: scale(1.05); }
.service-card.has-image .service-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card.has-image .service-num {
  position: static;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent-orange);
  margin-bottom: 14px;
  padding-left: 18px;
  position: relative;
}
.service-card.has-image .service-num::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--accent-orange);
}
.service-card.has-image .service-icon { display: none; }

/* ========== WORKSHOP SHOWCASE ========== */
.workshop-section { background: var(--bg-secondary); }
.workshop-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-bottom: 32px;
}
.workshop-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.workshop-tile-lg { grid-row: span 1; aspect-ratio: 4 / 3.05; }
.workshop-tile:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.workshop-tile:nth-child(5) { grid-row: span 2; aspect-ratio: auto; }
.workshop-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.95) contrast(1.05);
}
.workshop-tile:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.12);
}
.workshop-tile:hover img { transform: scale(1.06); filter: saturate(1.1) contrast(1.05); }
.workshop-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17, 24, 39, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.workshop-tile figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.workshop-tile:hover figcaption { transform: translateY(0); }
.tile-id {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--accent-orange);
}
.tile-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  line-height: 1;
}

/* Graceful fallback when photo isn't uploaded yet */
.workshop-tile.img-fallback {
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(249, 115, 22, 0.06) 12px, rgba(249, 115, 22, 0.06) 13px),
    radial-gradient(circle at 50% 30%, rgba(249, 115, 22, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-card), var(--bg-primary));
}
.workshop-tile.img-fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23f97316' stroke-width='2'%3E%3Crect x='8' y='14' width='48' height='38'/%3E%3Ccircle cx='42' cy='24' r='3' fill='%23f97316'/%3E%3Cpath d='M8 44 L22 30 L34 40 L46 28 L56 38'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.workshop-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.workshop-note .mono { color: var(--accent-orange); margin-right: 8px; }
.workshop-note a { color: var(--accent-orange); border-bottom: 1px solid currentColor; }
.workshop-note a:hover { color: var(--accent-orange-2); }

/* ========== WORKSHOP SLIDER ========== */
.workshop-slider {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  overflow: hidden;
  background: var(--bg-primary);
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-primary);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 6s var(--ease);
  filter: saturate(0.95) contrast(1.05);
}
.slide.active img { transform: scale(1); }

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.1) 0%, transparent 30%, transparent 50%, rgba(17, 24, 39, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.7s var(--ease) 0.3s, opacity 0.7s var(--ease) 0.3s;
}
.slide.active figcaption { transform: translateY(0); opacity: 1; }

.slide-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent-orange);
  padding-left: 24px;
  position: relative;
}
.slide-id::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--accent-orange);
}

.slide-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 1.5px;
  color: var(--text-primary);
  line-height: 1;
  margin: 0;
}

.slide-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin: 6px 0 0;
  max-width: 540px;
}

/* Fallback when image missing */
.slide.img-fallback {
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(249, 115, 22, 0.06) 12px, rgba(249, 115, 22, 0.06) 13px),
    radial-gradient(circle at 50% 30%, rgba(249, 115, 22, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-card), var(--bg-primary));
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s var(--ease);
}
.slider-arrow:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  box-shadow: 0 0 32px var(--accent-glow);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Meta — counter + dots */
.slider-meta {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 28px;
}
.slider-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-primary);
}
.counter-current { color: var(--accent-orange); font-weight: 700; font-size: 18px; }
.counter-sep { color: var(--text-muted); margin: 0 4px; }
.counter-total { color: var(--text-muted); }

.slider-dots {
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}
.slider-dot:hover { background: rgba(255, 255, 255, 0.5); }
.slider-dot.active {
  background: var(--accent-orange);
  width: 48px;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Bottom progress bar (autoplay indicator) */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 5;
}
.slider-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-2));
  width: 0;
  transform-origin: left;
  box-shadow: 0 0 8px var(--accent-glow);
}
.slider-progress-bar.running {
  animation: sliderProgress 6s linear forwards;
}
@keyframes sliderProgress {
  from { width: 0; }
  to   { width: 100%; }
}

@media (max-width: 768px) {
  .slider-viewport { aspect-ratio: 4 / 3; }
  .slide figcaption { padding: 24px 24px 32px; }
  .slider-arrow { width: 42px; height: 42px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slider-meta { bottom: 16px; right: 18px; gap: 16px; }
  .slider-dot { width: 22px; }
  .slider-dot.active { width: 34px; }
  .slide-desc { font-size: 13px; }
}

/* ========== WHY GRID ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.why-card {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s var(--ease);
}
.why-card:last-child { border-right: none; }
.why-card:hover { background: var(--bg-elevated); transform: translateY(-4px); }
.why-card:hover .why-icon { color: var(--accent-orange); }
.why-icon {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  color: var(--steel-blue);
  transition: color 0.3s;
}
.why-icon svg { width: 100%; height: 100%; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ========== INDUSTRIES ========== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  padding: 36px 28px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-orange);
  transition: all 0.3s var(--ease);
}
.industry-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.1);
}
.industry-icon {
  width: 52px; height: 52px;
  color: var(--accent-orange);
  margin-bottom: 20px;
}
.industry-icon svg { width: 100%; height: 100%; }
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.industry-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.industry-card ul {
  list-style: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
}
.industry-card ul li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
  letter-spacing: 1px;
}
.industry-card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--accent-orange); }

/* ========== COMPONENTS GRID ========== */
.components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.component-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.component-card:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-orange);
  transform: translateY(-4px);
}
.component-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.component-id { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 2px; }
.component-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 2px; color: var(--accent-orange);
  background: var(--accent-soft);
  padding: 4px 10px;
  border: 1px solid var(--accent-orange);
}
.component-name {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.component-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--accent-orange), transparent);
  margin-bottom: 18px;
}
.component-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.component-specs {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
}
.component-specs > div {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1px;
}
.component-specs span { color: var(--text-dim); }
.component-specs strong { color: var(--text-primary); font-weight: 500; }

/* ========== CLIENTS WALL ========== */
.clients-section { background: var(--bg-primary); }

.clients-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.clients-wall-grid { gap: 16px; }

.client-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0.15);
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.client-logo:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.18);
}
.client-logo:hover img { filter: grayscale(0); transform: scale(1.04); }

/* Glow accent on hover */
.client-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.client-logo:hover::before { opacity: 1; }

/* Top corner mark */
.client-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--accent-orange);
  border-left: 2px solid var(--accent-orange);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  transform: translate(-4px, -4px);
}
.client-logo:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

/* ----- Text fallback (when logo file missing) ----- */
.client-logo.no-logo {
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.08), transparent 50%),
    linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  border-color: var(--border);
}
.client-logo.no-logo:hover {
  border-color: var(--accent-orange);
}
.client-logo.no-logo span {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: 3px;
  text-align: center;
  line-height: 1.1;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: color 0.3s var(--ease);
  padding: 0 6px;
}
.client-logo.no-logo:hover span { color: var(--accent-orange); }

/* Subtle "Trusted by" note under wall */
.clients-note {
  text-align: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.clients-note .mono { color: var(--accent-orange); margin-right: 8px; font-weight: 700; }

/* ========== TWO COLUMN / DUAL ========== */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.dual-card {
  padding: 56px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.dual-card.accent {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border-color: var(--accent-orange);
}
.dual-card.accent::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(40px);
}
.dual-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 4px; color: var(--accent-orange); margin-bottom: 16px; }
.dual-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.dual-lead { font-size: 19px; color: var(--text-primary); margin-bottom: 20px; font-weight: 600; }
.dual-body { color: var(--text-muted); margin-bottom: 28px; font-size: 15px; line-height: 1.7; }
.dual-body strong { color: var(--text-primary); }
.dual-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dual-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 1px;
}
.dual-list li span { color: var(--accent-orange); font-size: 11px; font-weight: 700; }

/* ========== SERVICE DETAIL PAGE ========== */
.service-detail-body { padding: 100px 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.service-detail-main h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  margin: 48px 0 20px;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.service-detail-main h2:first-child { margin-top: 0; }
.service-detail-main h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 32px 0 14px;
  letter-spacing: 1px;
  color: var(--text-primary);
}
.service-detail-main p { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; line-height: 1.75; }
.service-detail-main strong { color: var(--text-primary); }
.service-detail-main ul { margin: 16px 0 24px; padding-left: 0; list-style: none; }
.service-detail-main ul li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}
.service-detail-main ul li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 14px; height: 1px; background: var(--accent-orange);
}
.service-detail-main ul li strong { color: var(--text-primary); margin-right: 8px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 13px;
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border: 1px solid var(--border);
}
.spec-table th {
  background: var(--bg-elevated);
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
}
.spec-table td { color: var(--text-muted); }
.spec-table tr:hover td { background: var(--bg-card); color: var(--text-primary); }

.service-sidebar { position: sticky; top: 120px; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card.accent {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
  color: #0a0a0c;
  border: none;
}
.sidebar-card.accent h4, .sidebar-card.accent p { color: #0a0a0c; }
.sidebar-card.accent .btn-ghost {
  background: rgba(0,0,0,0.15); border-color: #0a0a0c; color: #0a0a0c;
}
.sidebar-card.accent .btn-ghost:hover { background: #0a0a0c; color: var(--accent-orange); }
.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.sidebar-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.sidebar-list { list-style: none; }
.sidebar-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition: color 0.2s, padding-left 0.2s;
}
.sidebar-list a:hover { color: var(--accent-orange); padding-left: 4px; }
.sidebar-list a::after {
  content: "→";
  color: var(--accent-orange);
  opacity: 0.6;
  transition: transform 0.2s;
}
.sidebar-list a:hover::after { transform: translateX(4px); opacity: 1; }
.sidebar-list a.active { color: var(--accent-orange); }

/* ========== FAQ BLOCK ========== */
.faq-block {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
.faq-head { margin-bottom: 40px; max-width: 900px; }
.faq-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: 0.5px;
  margin-top: 14px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 980px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item[open] {
  border-left-color: var(--accent-orange);
  background: var(--bg-elevated);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-orange); }
.faq-q {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-primary);
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 4px 28px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 800px;
}
@media (max-width: 768px) {
  .faq-block { margin-top: 56px; padding-top: 40px; }
  .faq-item summary { padding: 16px 18px; }
  .faq-a { padding: 4px 18px 18px; font-size: 14px; }
  .faq-q { font-size: 15px; }
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex; gap: 16px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-orange);
  transition: all 0.3s var(--ease);
}
.info-card:hover { background: var(--bg-elevated); transform: translateX(4px); }
.info-card > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.info-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent-orange);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-orange);
}
.info-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 3px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.info-value {
  font-size: 15px; color: var(--text-primary);
  word-break: break-word;
  transition: color 0.2s;
  display: block;
}
a.info-value:hover { color: var(--accent-orange); }
.info-hours { padding: 22px 24px; background: var(--bg-card); border: 1px solid var(--border); }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-mono); font-size: 13px;
  border-bottom: 1px dashed var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-row span { color: var(--text-muted); letter-spacing: 1px; }
.hours-row strong { color: var(--accent-orange); }

.contact-form { background: var(--bg-card); border: 1px solid var(--border); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.form-field label .req { color: var(--accent-orange); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
  transition: all 0.2s var(--ease);
  resize: vertical;
}
.form-field select {
  cursor: pointer; appearance: none;
  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 d='M1 1l5 5 5-5' stroke='%23f97316' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 44px;
}
.form-field select option { background: var(--bg-secondary); color: var(--text-primary); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field input.error, .form-field textarea.error, .form-field select.error {
  border-color: #ef4444;
}
.honeypot { position: absolute; left: -9999px; visibility: hidden; }
.form-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 1px;
  text-align: center;
  min-height: 18px;
}
.form-note.success { color: #22c55e; }
.form-note.error   { color: #ef4444; }

.alert {
  padding: 16px 20px;
  border: 1px solid;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.alert-error { background: rgba(239, 68, 68, 0.08); border-color: #ef4444; color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, 0.08); border-color: #22c55e; color: #86efac; }

.map-wrap {
  margin-top: 40px;
  border: 1px solid var(--border);
  position: relative;
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
  filter: invert(0.92) hue-rotate(180deg) contrast(0.9);
}

/* ========== FOOTER CTA ========== */
.footer-cta {
  background:
    radial-gradient(circle at 80% 50%, var(--accent-soft), transparent 60%),
    var(--bg-secondary);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: 0.5px;
  margin-top: 16px;
}
.footer-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

/* ========== FOOTER ========== */
.footer { background: var(--bg-primary); padding: 80px 0 32px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo-footer { margin-bottom: 24px; }
.footer-tag { color: var(--text-primary); margin-bottom: 8px; font-weight: 700; }
.footer-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; line-height: 1.6; }
.footer-loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--accent-orange); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 2px;
  margin-bottom: 24px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
  word-break: break-word;
}
.footer-col a:hover { color: var(--accent-orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

/* ========== BACK TO TOP ========== */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--accent-orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 99;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 24px var(--accent-glow);
  pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--accent-orange-2); transform: translateY(-4px); }

/* ========== FLOATING WHATSAPP ========== */
.float-whatsapp {
  position: fixed;
  bottom: 32px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 99;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.float-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}
.float-whatsapp .wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 768px) {
  .float-whatsapp { width: 50px; height: 50px; bottom: 20px; left: 16px; }
  .float-whatsapp svg { width: 22px; height: 22px; }
}

/* ========== THANK YOU PAGE ========== */
.thanks-wrap {
  min-height: 70vh;
  display: flex; align-items: center;
  padding: 100px 0;
}
.thanks-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.thanks-check {
  width: 96px; height: 96px;
  border: 3px solid var(--accent-orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-orange);
  margin: 0 auto 40px;
  box-shadow: 0 0 40px var(--accent-glow);
}
.thanks-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  margin-bottom: 16px;
  line-height: 1;
}
.thanks-lead { font-size: 18px; color: var(--text-muted); margin-bottom: 36px; }
.thanks-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-illustration { width: 80%; opacity: 0.22; right: -120px; }
  .page-hero-illustration { width: 65%; opacity: 0.2; right: -80px; }
  .workshop-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .workshop-tile:nth-child(1),
  .workshop-tile:nth-child(5) { grid-row: span 1; aspect-ratio: 4 / 3; }
  .workshop-tile-lg { aspect-ratio: 4 / 3; }

  .services-grid, .industries-grid, .components-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card:nth-child(2n) { border-right: none; }
  .why-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .clients-wall { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .about-grid, .contact-grid, .service-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-sidebar { position: static; }
  .footer-cta-inner { grid-template-columns: 1fr; }
  .footer-cta-actions { justify-content: flex-start; }
}

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

  .hero-illustration { display: none; }
  .page-hero-illustration { display: none; }

  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-tile { aspect-ratio: 16 / 10 !important; }
  .workshop-tile figcaption { padding: 16px 20px; }
  .tile-name { font-size: 18px; }

  .service-card.has-image .service-image { aspect-ratio: 16 / 9; }
  .service-card.has-image .service-body { padding: 28px 22px; }

  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 86%; max-width: 360px;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 18px;
    transition: right 0.4s var(--ease);
    z-index: 99;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav-link { font-size: 16px; width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border);
    margin-left: 12px;
    padding: 0;
  }
  .nav-cta { margin-left: 0; margin-top: 12px; width: 100%; }
  .hamburger { display: flex; }
  .header-inner, .header.scrolled .header-inner { padding: 14px 20px; }
  .logo-mark { font-size: 26px; }
  .logo-title { font-size: 14px; }
  .logo-sub { font-size: 8px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 48px; }

  .hero { min-height: auto; padding: 60px 0 80px; }
  .hero-cta { margin-bottom: 32px; }

  .services-grid, .industries-grid, .components-grid, .why-grid, .stats-grid, .dual-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .service-card, .why-card, .stat {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .service-card:last-child, .why-card:last-child, .stat:last-child { border-bottom: none !important; }

  .clients-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-logo { height: 90px; padding: 14px 16px; }
  .client-logo.no-logo span { font-size: 14px; letter-spacing: 2px; }

  .contact-form { padding: 24px; }
  .form-row { gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .dual-card { padding: 36px 24px; }
  .dual-list { grid-template-columns: 1fr; }

  .back-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
  .footer-cta-actions { flex-direction: column; }
  .footer-cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -1px; }
  .stat-num { font-size: 48px; }
  .stat-plus { font-size: 36px; }
  .marquee-track { font-size: 16px; gap: 20px; }
}

/* =====================================================
   MOTION LAYER — advanced effects
   ===================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-2), var(--accent-orange));
  background-size: 200% 100%;
  z-index: 10001;
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: progressShimmer 3s linear infinite;
}
@keyframes progressShimmer {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 8000;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0.08) 30%, transparent 65%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.4s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
  will-change: transform, opacity;
}
.cursor-glow.on  { opacity: 1; }
.cursor-glow.big { width: 520px; height: 520px; }

.embers-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  mix-blend-mode: screen;
}

.stagger-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: transform, opacity;
}
.stagger-container.in-view .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.head-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.head-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.marquee.paused .marquee-track,
.industries-marquee.paused .industries-track { animation-play-state: paused; }

.service-card, .workshop-tile, .industry-card, .why-card, .component-card, .stat {
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card.has-image,
.workshop-tile,
.industry-card,
.component-card {
  position: relative;
}
.service-card.has-image::after,
.industry-card::after,
.component-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), rgba(249, 115, 22, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}
.service-card.has-image:hover::after,
.industry-card:hover::after,
.component-card:hover::after { opacity: 1; }

.btn-primary, .btn-ghost { will-change: transform; }
.hero-glow { will-change: transform; }

.hero-title-row {
  position: relative;
  overflow: hidden;
}
.hero-title-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: titleShimmer 6s ease-in-out 1s infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes titleShimmer {
  0%, 70% { transform: translateX(-100%); }
  85%     { transform: translateX(100%); }
  100%    { transform: translateX(100%); }
}

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
