:root {
  --industrial-dark: #0f172a;
  --industrial-gray: #334155;
  --industrial-light: #f1f5f9;
  --accent-orange: #ea580c;
  --accent-blue: #0284c7;
  --metal-gradient: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
  --dark-gradient: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

::selection {
  background: var(--accent-orange);
  color: white;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #1e293b;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--industrial-gray);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

.glass-nav {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.industrial-card {
  background: white;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.industrial-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.industrial-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.industrial-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-industrial {
  background: var(--accent-orange);
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-industrial::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-industrial:hover::before {
  left: 100%;
}

.btn-industrial:hover {
  background: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.3);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: white;
  color: var(--industrial-dark);
}

.hero-pattern {
  background-image: linear-gradient(30deg, #1e293b 12%, transparent 12.5%, transparent 87%, #1e293b 87.5%, #1e293b), linear-gradient(150deg, #1e293b 12%, transparent 12.5%, transparent 87%, #1e293b 87.5%, #1e293b), linear-gradient(30deg, #1e293b 12%, transparent 12.5%, transparent 87%, #1e293b 87.5%, #1e293b), linear-gradient(150deg, #1e293b 12%, transparent 12.5%, transparent 87%, #1e293b 87.5%, #1e293b), linear-gradient(60deg, #1e293b77 25%, transparent 25.5%, transparent 75%, #1e293b77 75%, #1e293b77), linear-gradient(60deg, #1e293b77 25%, transparent 25.5%, transparent 75%, #1e293b77 75%, #1e293b77);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  opacity: 0.1;
}

.tech-grid {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
}

input, textarea, select {
  border: 1px solid #cbd5e1 !important;
  background-color: #f8fafc !important;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  background-color: #ffffff !important;
  border-color: var(--accent-orange) !important;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1) !important;
  outline: none;
}

.metallic-text {
  background: linear-gradient(to bottom, #94a3b8, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-icon-wrapper {
  background: var(--dark-gradient);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 10px 20px rgba(0,0,0,0.2);
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] summary ~ * {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.whatsapp-float {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.skew-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.skew-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.skew-divider .shape-fill {
  fill: #f8fafc;
}

@media (max-width: 768px) {
  .text-4xl {
    font-size: 2rem;
    line-height: 2.5rem;
  }
  
  .text-5xl {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}