/* ============================================================
   WIS — Premium Industrial Design System
   WebRing Integrated Services
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --wis-blue-900: #000f22;
  --wis-blue-800: #0a2540;
  --wis-blue-700: #0f3460;
  --wis-blue-600: #1a4a7a;
  --wis-blue-500: #2563a0;
  --wis-blue-400: #4a80b8;
  --wis-blue-300: #7aa3d0;
  --wis-blue-200: #b0c8eb;
  --wis-blue-100: #d2e4ff;
  --wis-blue-50: #eef4ff;

  --wis-orange-700: #ae3100;
  --wis-orange-600: #d44a1a;
  --wis-orange-500: #fe6431;
  --wis-orange-400: #ff8a5c;
  --wis-orange-300: #ffb59f;
  --wis-orange-200: #ffdbd0;
  --wis-orange-100: #fff0eb;

  --wis-red-700: #930010;
  --wis-red-600: #ae3100;
  --wis-red-500: #ba1a1a;
  --wis-red-400: #fa4b47;
  --wis-red-300: #ffb3ac;
  --wis-red-200: #ffdad6;

  /* Neutral Palette */
  --wis-gray-900: #1c1b1b;
  --wis-gray-800: #313030;
  --wis-gray-700: #43474d;
  --wis-gray-600: #5a5e66;
  --wis-gray-500: #74777e;
  --wis-gray-400: #9a9da4;
  --wis-gray-300: #c4c6ce;
  --wis-gray-200: #e5e2e1;
  --wis-gray-100: #f0eded;
  --wis-gray-50: #fcf9f8;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 15, 34, 0.06), 0 1px 2px rgba(0, 15, 34, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 15, 34, 0.08), 0 2px 4px rgba(0, 15, 34, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 15, 34, 0.1), 0 4px 8px rgba(0, 15, 34, 0.06);
  --shadow-xl: 0 24px 48px rgba(0, 15, 34, 0.12), 0 8px 16px rgba(0, 15, 34, 0.06);
  --shadow-industrial: 0 32px 64px -12px rgba(0, 15, 34, 0.18);
  --shadow-orange-glow: 0 8px 24px rgba(254, 100, 49, 0.2);
  --shadow-card-hover: 0 20px 40px -8px rgba(0, 15, 34, 0.15), 0 0 0 1px rgba(254, 100, 49, 0.1);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --section-gap: clamp(80px, 10vw, 140px);
  --container-padding: clamp(20px, 5vw, 80px);
}

/* ---------- Base Resets & Smoothing ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: var(--wis-orange-500);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--wis-gray-100); }
::-webkit-scrollbar-thumb {
  background: var(--wis-blue-800);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--wis-blue-700); }

/* ---------- Typography Enhancements ---------- */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wis-orange-700);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--wis-orange-500);
  display: inline-block;
  flex-shrink: 0;
}

.heading-display {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--wis-blue-900);
}

.text-balance { text-wrap: balance; }

/* ---------- Navigation ---------- */
.nav-main {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s var(--ease-out-expo);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-main.scrolled {
  background: rgba(0, 15, 34, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--wis-orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  padding-bottom: 4px;
}
.nav-link:hover { color: white; }
.nav-link.active {
  color: var(--wis-orange-300);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--wis-orange-500);
  border-radius: 1px;
}

/* Mobile Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s var(--ease-out-expo);
  border-radius: 1px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: var(--wis-blue-900);
  z-index: 105;
  transition: right 0.5s var(--ease-out-expo);
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}
.mobile-menu.active { right: 0; }

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu a:hover,
.mobile-menu a.active-mobile {
  color: var(--wis-orange-500);
  padding-left: 12px;
}

.mobile-menu .mobile-cta {
  margin-top: auto;
  background: var(--wis-orange-500);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 32px;
  text-align: center;
  border-bottom: none;
  transition: background 0.3s ease;
}
.mobile-menu .mobile-cta:hover {
  background: var(--wis-orange-700);
  padding-left: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* hamburger visibility handled by Tailwind md:hidden */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--wis-orange-500);
  color: white;
}
.btn-primary:hover {
  background: var(--wis-orange-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-glow);
}

.btn-secondary {
  background: var(--wis-blue-800);
  color: white;
}
.btn-secondary:hover {
  background: var(--wis-blue-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--wis-blue-900);
  border: 2px solid var(--wis-blue-800);
}
.btn-outline-dark:hover {
  background: var(--wis-blue-900);
  color: white;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover {
  background: #075E54;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 17px;
  font-weight: 700;
}

.btn .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.3s ease;
}
.btn:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* ---------- Cards ---------- */
.card-industrial {
  background: white;
  border: 1px solid var(--wis-gray-300);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.card-industrial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wis-orange-500), var(--wis-blue-500));
  transition: width 0.5s var(--ease-out-expo);
}
.card-industrial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(254, 100, 49, 0.2);
}
.card-industrial:hover::after { width: 100%; }

.card-dark {
  background: var(--wis-blue-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  transition: all 0.4s var(--ease-out-expo);
}
.card-dark:hover {
  border-color: var(--wis-orange-500);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- Section Styling ---------- */
.section-divider {
  position: relative;
}
.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--container-padding);
  right: var(--container-padding);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wis-gray-300), transparent);
}

.bg-industrial-dark {
  background: linear-gradient(135deg, var(--wis-blue-900) 0%, var(--wis-blue-800) 100%);
}

.bg-industrial-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(254, 100, 49, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(10, 37, 64, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(254, 100, 49, 0.02) 0%, transparent 50%);
}

/* Diagonal Section Transition */
.section-angle-top {
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: calc(var(--section-gap) + 40px);
}

/* ---------- Animations ---------- */
/* Scroll Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }

/* Image Reveal */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--wis-blue-800);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1s var(--ease-out-expo) 0.2s;
}
.img-reveal.active::after {
  transform: scaleX(0);
}

.img-reveal img, .img-reveal > div {
  transform: scale(1.2);
  transition: transform 1.2s var(--ease-out-expo) 0.3s;
}
.img-reveal.active img, .img-reveal.active > div {
  transform: scale(1);
}

/* Counter Animation */
.counter-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 100, 49, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(254, 100, 49, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes draw-line {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

/* ---------- Stats / Trust Bar ---------- */
.stat-item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--wis-gray-300);
}
.stat-item:last-child::after { display: none; }

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--wis-orange-700);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wis-gray-600);
}

/* ---------- Timeline ---------- */
.timeline-vertical {
  position: relative;
  padding-left: 40px;
}
.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--wis-orange-500), var(--wis-blue-400), transparent);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--wis-orange-500);
  border-radius: 50%;
  position: absolute;
  left: 8px;
  top: 4px;
  box-shadow: 0 0 0 4px var(--wis-blue-800);
}

/* ---------- Gallery ---------- */
.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  transition: all 0.6s var(--ease-out-expo);
  filter: grayscale(60%);
}
.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 15, 34, 0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- FAQ / Accordion ---------- */
.faq-item {
  border: 1px solid var(--wis-gray-300);
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--wis-gray-400); }
.faq-item.open { border-color: var(--wis-orange-500); }

.faq-trigger {
  width: 100%;
  padding: 24px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--wis-blue-900);
  transition: color 0.3s ease;
}
.faq-trigger:hover { color: var(--wis-orange-700); }

.faq-trigger .material-symbols-outlined {
  transition: transform 0.35s var(--ease-out-expo);
  color: var(--wis-gray-500);
}
.faq-item.open .faq-trigger .material-symbols-outlined {
  transform: rotate(180deg);
  color: var(--wis-orange-500);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}
.faq-content-inner {
  padding: 0 24px 24px;
  color: var(--wis-gray-700);
  line-height: 1.7;
  border-top: 1px solid var(--wis-gray-200);
  padding-top: 16px;
}

/* ---------- Form Styling ---------- */
.form-field {
  position: relative;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--wis-gray-50);
  border: 1px solid var(--wis-gray-300);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--wis-gray-900);
  transition: all 0.3s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--wis-orange-500);
  box-shadow: 0 0 0 3px rgba(254, 100, 49, 0.1);
  background: white;
}
.form-field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wis-gray-600);
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.footer-main {
  background: var(--wis-blue-900);
  color: white;
  position: relative;
}
.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wis-orange-500), var(--wis-blue-500), var(--wis-orange-500));
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-link:hover {
  color: var(--wis-orange-400);
  transform: translateX(4px);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--wis-blue-800);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-lg);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--wis-orange-500);
  transform: translateY(-4px);
}

/* ---------- Utility Classes ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--wis-orange-500), var(--wis-orange-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-accent {
  border-left: 4px solid var(--wis-orange-500);
  padding-left: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.badge-orange {
  background: rgba(254, 100, 49, 0.1);
  color: var(--wis-orange-700);
  border: 1px solid rgba(254, 100, 49, 0.2);
}

.badge-blue {
  background: rgba(10, 37, 64, 0.1);
  color: var(--wis-blue-700);
  border: 1px solid rgba(10, 37, 64, 0.15);
}

/* Spec Tag */
.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--wis-gray-300);
  color: var(--wis-gray-700);
  background: var(--wis-gray-50);
  transition: all 0.3s ease;
}
.spec-tag .material-symbols-outlined { font-size: 16px; color: var(--wis-blue-600); }
.spec-tag:hover {
  border-color: var(--wis-orange-400);
  background: var(--wis-orange-100);
}

/* ---------- Logo Image ---------- */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- Category Accordion (Machines Page) ---------- */
.category-section {
  border: 1px solid var(--wis-gray-300);
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
}
.category-section + .category-section { margin-top: -1px; }
.category-section.open { border-color: var(--wis-orange-500); z-index: 1; box-shadow: var(--shadow-md); }

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: white;
  transition: all 0.3s ease;
  user-select: none;
}
.category-header:hover { background: var(--wis-gray-50); }
.category-section.open .category-header { background: var(--wis-blue-900); }
.category-section.open .category-header .cat-title { color: white; }
.category-section.open .category-header .cat-subtitle { color: rgba(255,255,255,0.6); }
.category-section.open .category-header .cat-icon { color: var(--wis-orange-400); }

.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-expand-icon {
  transition: transform 0.35s var(--ease-out-expo);
  color: var(--wis-gray-500);
}
.category-section.open .cat-expand-icon {
  transform: rotate(180deg);
  color: var(--wis-orange-400);
}

/* ---------- Social Media Icons ---------- */
.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.7);
}
.social-icon:hover {
  background: var(--wis-orange-500);
  border-color: var(--wis-orange-500);
  color: white;
  transform: translateY(-2px);
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Workflow Steps ---------- */
.workflow-step {
  position: relative;
  text-align: center;
  padding: 24px 16px;
  background: var(--wis-gray-50);
  border: 1px solid var(--wis-gray-200);
}
.workflow-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid var(--wis-orange-500);
  z-index: 2;
}
.workflow-step:last-child::after { display: none; }

/* ---------- Responsive ---------- */

/* Hamburger: hidden by default, shown on mobile via Tailwind md:hidden */
/* Remove default display:none since Tailwind handles visibility */

@media (max-width: 1024px) {
  .nav-main .nav-link { font-size: 13px; }
}

@media (max-width: 768px) {
  /* --- Hamburger Fix --- */
  .hamburger {
    display: flex !important;
  }

  /* --- Navigation --- */
  .nav-logo { font-size: 22px; }
  .logo-img { height: 32px; }

  /* --- Typography --- */
  .section-label { font-size: 11px; gap: 8px; }
  .section-label::before { width: 20px; }

  /* --- Buttons --- */
  .btn { padding: 14px 24px; font-size: 14px; }
  .btn-lg {
    padding: 16px 28px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }

  /* --- Stats --- */
  .stat-item { padding: 16px 12px; }
  .stat-item::after { display: none; }
  .stat-number { font-size: 28px; }
  .stat-label { font-size: 10px; }

  /* --- Cards --- */
  .card-industrial { padding: 20px !important; }
  .card-industrial:hover { transform: none; }
  .card-dark:hover { transform: none; }

  /* --- Category Accordion --- */
  .category-header {
    padding: 16px 18px;
    flex-wrap: nowrap;
  }
  .category-header span.flex { flex-wrap: wrap; gap: 6px !important; }
  .category-header .font-heading { font-size: 15px !important; }
  .category-content .p-6 { padding: 16px !important; }
  .category-content .md\:p-10 { padding: 16px !important; }

  /* --- Workflow Steps --- */
  .workflow-step { padding: 20px 12px; }
  .workflow-step::after { display: none; }
  .workflow-step .w-16 { width: 48px !important; height: 48px !important; font-size: 16px !important; }

  /* --- FAQ --- */
  .faq-trigger { padding: 18px 16px; font-size: 14px; }
  .faq-content-inner { padding: 0 16px 18px; font-size: 14px; }

  /* --- Forms --- */
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 14px 16px;
    font-size: 14px;
  }

  /* --- Hero Sections --- */
  section[class*="h-[50vh]"],
  section[class*="h-[45vh]"] {
    min-height: 320px !important;
  }

  /* --- Footer --- */
  .footer-main .social-icon { width: 36px; height: 36px; }
  .footer-main .social-icon svg { width: 16px; height: 16px; }

  /* --- Back to Top --- */
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }

  /* --- Spec Tags --- */
  .spec-tag { padding: 6px 10px; font-size: 11px; }

  /* --- General Spacing --- */
  section { overflow-x: hidden; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 20px; }
  .logo-img { height: 28px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 9px; letter-spacing: 0.06em; }
  .btn { padding: 12px 20px; font-size: 13px; }
  .btn-lg { padding: 14px 24px; font-size: 14px; }
  .card-industrial { padding: 16px !important; }
  .faq-trigger { font-size: 13px; padding: 16px 14px; }
  .mobile-menu { padding: 90px 28px 28px; }
  .mobile-menu a { font-size: 18px; padding: 14px 0; }
  .mobile-menu .mobile-cta { padding: 16px 24px; font-size: 14px; }
  .category-header .font-heading { font-size: 14px !important; }
  .badge { font-size: 10px; padding: 4px 10px; }
}

/* ---------- Print ---------- */
@media print {
  .nav-main, .hamburger, .mobile-menu, .mobile-overlay, .back-to-top { display: none !important; }
  body { overflow: visible; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}
