/* =====================================================
   DIVISION: SERVICIOS INDUSTRIALES — PREMIUM B2B
   ===================================================== */

:root {
  --div-primary:   #3b82f6; 
  --div-secondary: #1e3a8a; 
  --div-accent:    #f59e0b; 
  --div-dark:      #0a0f1e;
  --div-gray:      #f8fafc;
}

/* ─── FONDOS Y ESTRUCTURA ────────────────────────── */
.industrial-blueprint-bg {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

.section-dark-accent {
  background: #0a0f1e !important;
  background: linear-gradient(135deg, #0a0f1e 0%, #16213e 100%) !important;
  color: #ffffff !important;
}

.section-white { background: #ffffff !important; }
.section-gray  { background: #f8fafc !important; }

/* ─── HERO ──────────────────────────────────────── */
.division-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: #050a14;
  overflow: hidden;
}

.division-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-glow-left, .hero-glow-right {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
}

.hero-glow-left {
  background: rgba(59, 130, 246, 0.15);
  top: -10%;
  left: -10%;
}

.hero-glow-right {
  background: rgba(30, 58, 138, 0.2);
  bottom: -10%;
  right: -10%;
}

.division-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(to right, #fff, var(--div-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ffffff; /* Blanco puro para máxima legibilidad */
  max-width: 700px;
  margin-bottom: 35px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* KPIs */
.hero-kpis {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 35px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  width: fit-content;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-kpi {
  text-align: center;
  padding: 0 25px;
}

.hero-kpi:first-child { padding-left: 0; }
.hero-kpi:last-child { padding-right: 0; }

.hero-kpi-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--div-primary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.hero-kpi-lbl {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9); /* Más brillante */
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.hero-kpi-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Badges */
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.hero-trust-badge {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hero-trust-badge:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.hero-trust-badge i {
  color: var(--div-primary);
}

/* ─── PARTNERSHIP SECTION (ELECMETAL) ────────────── */
.partnership-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 60px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.partnership-specs {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ps-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.ps-item i { color: var(--div-primary); font-size: 1.2rem; }

.partnership-card {
  background: linear-gradient(135deg, var(--div-primary), var(--div-secondary));
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.partnership-card i { font-size: 3rem; color: #fff; margin-bottom: 20px; display: block; }
.partnership-card strong { display: block; font-size: 1.3rem; color: #fff; margin-bottom: 5px; }
.partnership-card span { font-size: 0.9rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; }

/* ─── EXPERTISE ─────────────────────────────────── */
.expertise-list { display: flex; flex-direction: column; gap: 25px; margin-top: 30px; }
.exp-item { display: flex; gap: 20px; }
.exp-icon {
  width: 50px; height: 50px; background: rgba(59, 130, 246, 0.1); 
  border: 1px solid var(--div-primary); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--div-primary); flex-shrink: 0;
}
.exp-content h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 5px; }
.exp-content p { font-size: 0.95rem; line-height: 1.6; }

/* ─── SERVICIOS ─────────────────────────────────── */
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.servicio-card {
  background: #fff; padding: 40px; border-radius: 20px; border: 1px solid #e2e8f0;
  transition: transform 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.servicio-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.servicio-card .sc-icon { font-size: 2rem; color: var(--div-primary); margin-bottom: 20px; }
.servicio-card h3 { color: var(--div-dark); font-size: 1.15rem; margin-bottom: 10px; }
.servicio-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

/* ─── CALLOUT ───────────────────────────────────── */
.industrial-callout { padding: 80px 0; background: #1e3a8a; text-align: center; color: #fff; }
.industrial-callout h2 { font-size: 2.2rem; margin-bottom: 15px; }

/* ─── FORM ──────────────────────────────────────── */
.industrial-form { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }
.industrial-form .form-control { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 12px; border-radius: 8px; width: 100%; margin-bottom: 15px; }
.industrial-form label { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-bottom: 5px; display: block; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 992px) {
  .partnership-box { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
}

@media (max-width: 768px) {
  .division-hero { padding: 100px 0 60px; min-height: auto; }
  
  .hero-kpis {
    padding: 15px 10px;
    width: 100%;
    max-width: 100%;
    justify-content: space-evenly;
    border-radius: 16px;
    margin-bottom: 30px;
  }
  
  .hero-kpi {
    padding: 0 5px;
    flex: 1;
  }
  
  .hero-kpi-num {
    font-size: 1.5rem;
  }
  
  .hero-kpi-lbl {
    font-size: 0.58rem;
    white-space: normal;
    line-height: 1.3;
    max-width: 80px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-kpi-divider {
    height: 30px;
    opacity: 0.5;
  }
  
  .division-hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-sub {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-kpi-num {
    font-size: 1.25rem;
  }
  .hero-kpi-lbl {
    font-size: 0.5rem;
  }
  .hero-kpis {
    padding: 12px 5px;
  }
}