/* ==========================================================================
   SISTEMA DE DISEÑO INGESANIC SAS
   Manual de Identidad: Verde Corporativo (#24944D), Gris (#75787B)
   Tipografía: Montserrat
   ========================================================================== */

:root {
  /* Paleta Corporativa Oficial */
  --verde-corporativo: #24944D;     /* RGB: 36, 148, 77 | CMYK: 82, 15, 85, 2 */
  --verde-light: #2eb85f;
  --verde-dark: #1b733b;
  --verde-glow: rgba(36, 148, 77, 0.4);
  --verde-subtle: rgba(36, 148, 77, 0.12);
  --verde-laser: #00e676;
  
  --gris-corporativo: #75787B;      /* RGB: 117, 120, 123 | CMYK: 30, 22, 23, 55 */
  --gris-light: #9ca3af;
  --gris-steel: #e2e8f0;
  --gris-dark: #2d3748;
  --gris-subtle: rgba(117, 120, 123, 0.15);

  /* Fondos y Estructura */
  --bg-dark: #080b0e;
  --bg-surface: #0e1216;
  --bg-card: rgba(15, 20, 26, 0.88);
  --bg-card-hover: rgba(20, 28, 36, 0.95);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.11);
  --border-hover: rgba(36, 148, 77, 0.55);
  
  --primary: var(--verde-corporativo);
  --primary-glow: var(--verde-glow);
  --secondary: var(--gris-corporativo);
  
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-bright: #ffffff;
  
  /* Tipografía */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transiciones */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(36, 148, 77, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(117, 120, 123, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Canvas de Chispas Láser */
#laser-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid rgba(36, 148, 77, 0.3);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--verde-corporativo);
}

/* ==========================================================================
   BARRA SUPERIOR DE SERVICIO (TOP UTILITY BAR)
   ========================================================================== */

.top-bar {
  background: #050709;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.top-bar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.top-bar-item i {
  color: var(--verde-corporativo);
  font-size: 0.85rem;
}

.top-bar-item:hover {
  color: var(--text-bright);
}

.badge-location {
  background: rgba(36, 148, 77, 0.15);
  color: var(--verde-laser);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(36, 148, 77, 0.3);
}

/* ==========================================================================
   NAVEGACIÓN PRINCIPAL (HEADER ESPACIOSO Y DISTRIBUIDO)
   ========================================================================== */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(8, 11, 14, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36, 148, 77, 0.35);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.top-bar {
  display: none !important;
}

.product-tabs-bar, #product-nav-tabs {
  display: none !important;
}

#main-header.scrolled {
  background: rgba(6, 8, 11, 0.98);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(36, 148, 77, 0.3);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 15px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.brand-logo-wrap:hover .brand-logo-img {
  filter: drop-shadow(0 0 12px var(--verde-glow));
}

#nav-menu {
  display: flex;
  align-items: center;
  justify-content: center; flex-wrap: wrap; gap: 15px; flex-grow: 1;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.86rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 4px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--verde-corporativo);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.tab-highlight-pdf {
  color: var(--verde-laser) !important;
  font-weight: 700;
}

.header-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

/* Estilos de Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-main);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--verde-light) 0%, var(--verde-corporativo) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px var(--verde-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 148, 77, 0.6);
  background: linear-gradient(135deg, #38d672 0%, var(--verde-light) 100%);
}

.btn-secondary {
  background: rgba(117, 120, 123, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(117, 120, 123, 0.35);
  border-color: var(--verde-corporativo);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--verde-corporativo);
}

.btn-outline:hover {
  background: var(--verde-corporativo);
  color: #fff;
  box-shadow: 0 4px 15px var(--verde-glow);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumb-bar {
  background: #0b0f13;
  border-bottom: 1px solid var(--border-color);
  padding: 11px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-container a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb-container a:hover {
  color: var(--verde-laser);
}

.breadcrumb-separator {
  color: #475569;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--verde-corporativo);
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN HERO PRINCIPAL & DE PRODUCTO
   ========================================================================== */

.hero-engineering-section {
  position: relative;
  min-height: 85vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 85px 32px 65px;
  background: #080b0e;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(8, 11, 14, 0.96) 0%,
    rgba(8, 11, 14, 0.88) 55%,
    rgba(8, 11, 14, 0.72) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-badge-tag {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--verde-laser);
  background: rgba(36, 148, 77, 0.15);
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid rgba(36, 148, 77, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-main-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.text-highlight {
  color: var(--verde-laser);
  text-shadow: 0 0 20px var(--verde-glow);
}

.hero-description-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-key-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

.spec-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--verde-corporativo);
}

.spec-chip strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spec-chip span {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.hero-action-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Tarjeta Hero Lateral de Equipo */
.hero-product-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-product-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--verde-corporativo), var(--verde-laser));
}

.preview-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde-laser);
  margin-bottom: 12px;
}

.preview-img-box {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #141920;
  height: 220px;
}

.preview-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-bullets {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.preview-bullets li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-bullets li i {
  color: var(--verde-corporativo);
  font-size: 0.8rem;
}

/* ==========================================================================
   BARRA DE ANCLAS / TABS DE PRODUCTO
   ========================================================================== */

/* Subnav secundario retirado para mantener únicamente la cabecera principal limpia */

/* ==========================================================================
   SECCIÓN LÍNEAS DE PRODUCTO & MAQUINARIA
   ========================================================================== */

.lines-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 95px 32px 65px;
}

.section-head-center {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 50px;
}

.section-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--verde-corporativo);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-heading-lg {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
}

.section-subtext {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.line-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.line-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55), 0 0 22px rgba(36, 148, 77, 0.2);
}

.line-img-box {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #141920;
}

.line-img-box img,
.line-img-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.line-card:hover .line-img-box img {
  transform: scale(1.06);
}

.line-badge-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 11, 14, 0.88);
  backdrop-filter: blur(8px);
  color: var(--verde-laser);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(36, 148, 77, 0.4);
  text-transform: uppercase;
}

.line-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.line-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.line-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.line-specs-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.line-specs-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.line-specs-list li i {
  color: var(--verde-corporativo);
  font-size: 0.75rem;
}

.line-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--verde-laser);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.line-link-cta:hover {
  color: #fff;
  transform: translateX(4px);
}

/* ==========================================================================
   🚀 NUEVO: CALCULADORA INTERACTIVA DE FLUJO & DIMENSIONAMIENTO
   ========================================================================== */

.calculator-section {
  background: #080c10;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 95px 32px;
  background-image: 
    linear-gradient(to right, rgba(36, 148, 77, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 148, 77, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.calculator-container {
  max-width: 1440px;
  margin: 0 auto;
}

/* Barra Selectora del Dimensionador Multi-Equipo (Dock Segmentado Oficial) */
.calc-tabs-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  margin: 0 auto 36px auto;
  max-width: 1200px;
  padding: 7px;
  background: #0d141c;
  border: 1.5px solid rgba(36, 148, 77, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.calc-tab-btn {
  flex: 1 1 0;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--font-main, 'Montserrat', sans-serif);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  outline: none;
}

.calc-tab-btn i {
  color: #00e676;
  font-size: 0.98rem;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.calc-tab-btn:hover {
  background: rgba(36, 148, 77, 0.16);
  border-color: rgba(0, 230, 118, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 230, 118, 0.18);
}

.calc-tab-btn:hover i {
  color: #ffffff;
}

.calc-tab-btn.active {
  background: linear-gradient(135deg, #2eb85f 0%, #24944d 100%);
  color: #ffffff;
  border-color: #24944d;
  box-shadow: 0 4px 20px rgba(36, 148, 77, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-weight: 800;
  transform: translateY(-2px);
}

.calc-tab-btn.active i {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
  .calc-tabs-bar {
    flex-wrap: wrap;
    border-radius: 12px;
    padding: 8px;
  }
  .calc-tab-btn {
    flex: 1 1 calc(50% - 8px);
    white-space: normal;
    padding: 11px 12px;
    font-size: 0.83rem;
  }
}

@media (max-width: 540px) {
  .calc-tabs-bar {
    border-radius: 10px;
  }
  .calc-tab-btn {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    font-size: 0.86rem;
  }
}

.calculator-card-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(36, 148, 77, 0.4);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(36, 148, 77, 0.12);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.calc-inputs-col h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.calc-inputs-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.calc-control-group {
  margin-bottom: 22px;
}

.calc-control-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.calc-value-badge {
  background: rgba(36, 148, 77, 0.2);
  color: var(--verde-laser);
  border: 1px solid rgba(36, 148, 77, 0.4);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

.calc-slider {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--verde-laser);
  box-shadow: 0 0 12px var(--verde-glow);
  cursor: pointer;
  border: 2px solid #fff;
  transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-select {
  width: 100%;
  background: #111820;
  border: 1.5px solid rgba(0, 230, 118, 0.4);
  border-radius: 8px;
  padding: 13px 16px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--verde-laser);
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.35);
}

.calc-select option {
  background-color: #0d1318;
  color: #f1f5f9;
  font-size: 0.92rem;
  padding: 12px 14px;
}

.calc-select option:hover,
.calc-select option:checked {
  background-color: #16222c;
  color: var(--verde-laser);
}

.btn-calc-pdf {
  width: 100%;
  margin-top: 10px;
  padding: 13px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.12);
  border: 1.5px solid var(--verde-laser);
  color: var(--verde-laser);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-calc-pdf:hover {
  background: var(--verde-laser);
  color: #06090c;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.4);
  transform: translateY(-2px);
}

/* Panel de Resultados Dinámicos */
.calc-results-panel {
  background: linear-gradient(135deg, #090e13 0%, #111820 100%);
  border: 1px solid rgba(36, 148, 77, 0.5);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.calc-results-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--verde-corporativo), var(--verde-laser));
}

.calc-results-panel h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--verde-laser);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.result-model-title {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.result-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.result-spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px 12px;
}

.result-spec-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.result-spec-item strong {
  font-size: 1.05rem;
  color: #fff;
}

/* ==========================================================================
   🚀 NUEVO: VISOR DE MAQUINARIA EN COMPARATIVA (POR APLICACIÓN)
   ========================================================================== */

.comparative-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 95px 32px;
}

.app-filter-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.app-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 22px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-pill-btn:hover,
.app-pill-btn.active {
  background: var(--verde-corporativo);
  color: #fff;
  border-color: var(--verde-corporativo);
  box-shadow: 0 4px 15px var(--verde-glow);
}

.app-content-display {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.comp-column-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--verde-corporativo);
  border-radius: 8px;
  padding: 22px;
}

.comp-column-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comp-column-box h4 i {
  color: var(--verde-laser);
}

.comp-column-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.comp-spec-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--verde-laser);
  background: rgba(36, 148, 77, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   🚀 NUEVO: GALERÍA DE PROYECTOS REALES "LLAVE EN MANO"
   ========================================================================== */

.projects-section {
  background: #090c10;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 95px 32px;
}

.projects-container {
  max-width: 1440px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--verde-corporativo);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(36, 148, 77, 0.2);
}

.project-img-box {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #141920;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-box img {
  transform: scale(1.08);
}

.project-location-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 11, 14, 0.9);
  color: var(--verde-laser);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(36, 148, 77, 0.4);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.project-metric-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 0.82rem;
}

.project-metric-row strong {
  color: #fff;
}

.project-metric-row span {
  color: var(--verde-laser);
  font-weight: 700;
}

/* ==========================================================================
   SECCIÓN ANATOMÍA Y CARACTERÍSTICAS TÉCNICAS
   ========================================================================== */

.anatomy-section {
  background: #0b0e12;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 95px 32px;
}

.anatomy-container {
  max-width: 1440px;
  margin: 0 auto;
}

.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 28px;
  position: relative;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  border-color: var(--verde-corporativo);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--verde-subtle);
  border: 1px solid rgba(36, 148, 77, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--verde-laser);
  margin-bottom: 18px;
}

.feature-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   SECCIÓN PLANOS TÉCNICOS & ESQUEMAS CAD (BLUEPRINTS)
   ========================================================================== */

.blueprints-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 95px 32px;
}

.blueprint-showcase-card {
  background: #070b0e;
  border: 1px solid rgba(36, 148, 77, 0.35);
  border-radius: 14px;
  padding: 42px;
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(to right, rgba(36, 148, 77, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 148, 77, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.blueprint-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.blueprint-diagram-visual {
  background: #05080a;
  border: 1px solid rgba(36, 148, 77, 0.4);
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.blueprint-tag {
  display: inline-block;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--verde-laser);
  background: rgba(36, 148, 77, 0.2);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.cad-svg-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(36, 148, 77, 0.3);
  border-radius: 6px;
  background: #070b0e;
  color: var(--verde-laser);
}

.cad-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}

.cad-specs-table th {
  text-align: left;
  padding: 10px;
  background: rgba(36, 148, 77, 0.15);
  color: #fff;
  border-bottom: 1px solid rgba(36, 148, 77, 0.4);
}

.cad-specs-table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

/* ==========================================================================
   ⭐ CENTRO DE DESCARGAS PDFS (DISEÑO TÉCNICO ENRIQUECIDO Y DINÁMICO)
   ========================================================================== */

.downloads-pdf-section {
  background: #080c10;
  border-top: 2px solid var(--verde-corporativo);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 32px;
  position: relative;
  background-image: 
    linear-gradient(to right, rgba(36, 148, 77, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 148, 77, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.downloads-container {
  max-width: 1440px;
  margin: 0 auto;
}

.pdf-showcase-banner {
  background: linear-gradient(135deg, rgba(14, 20, 26, 0.95) 0%, rgba(20, 30, 38, 0.9) 100%);
  border: 1px solid rgba(36, 148, 77, 0.35);
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 45px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(36, 148, 77, 0.12);
}

.pdf-showcase-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.pdf-showcase-text p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.pdf-quick-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pdf-stat-item {
  background: rgba(36, 148, 77, 0.1);
  border: 1px solid rgba(36, 148, 77, 0.25);
  padding: 8px 16px;
  border-radius: 6px;
}

.pdf-stat-item strong {
  display: block;
  color: var(--verde-laser);
  font-size: 1.1rem;
}

.pdf-stat-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pdf-showcase-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(36, 148, 77, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: #0d1217;
  max-height: 280px;
}

.pdf-showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdf-category-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pdf-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pdf-filter-btn:hover,
.pdf-filter-btn.active {
  background: var(--verde-corporativo);
  color: #fff;
  border-color: var(--verde-corporativo);
  box-shadow: 0 4px 15px var(--verde-glow);
}

.pdf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 26px;
}

.pdf-doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pdf-doc-card:hover {
  transform: translateY(-5px);
  border-color: var(--verde-corporativo);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(36, 148, 77, 0.2);
  background: var(--bg-card-hover);
}

.pdf-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.doc-type-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-manual {
  background: rgba(36, 148, 77, 0.2);
  color: var(--verde-laser);
  border: 1px solid rgba(36, 148, 77, 0.4);
}

.badge-brochure {
  background: rgba(117, 120, 123, 0.25);
  color: #cbd5e1;
  border: 1px solid rgba(117, 120, 123, 0.4);
}

.badge-spec {
  background: rgba(0, 230, 118, 0.15);
  color: var(--verde-laser);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.pdf-file-icon {
  font-size: 2.2rem;
  color: #ef4444;
}

.pdf-doc-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.pdf-doc-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pdf-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.file-weight-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-corporativo);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition-fast);
  text-transform: uppercase;
}

.btn-download-pdf:hover {
  background: var(--verde-light);
  box-shadow: 0 4px 14px var(--verde-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN NUESTRO PROCESO
   ========================================================================== */

.workflow-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 95px 32px;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
}

.step-card-num {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--verde-corporativo);
  line-height: 1;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */

.faq-section {
  background: #0a0d11;
  border-top: 1px solid var(--border-color);
  padding: 95px 32px;
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  user-select: none;
}

.faq-question:hover {
  color: var(--verde-laser);
}

.faq-icon {
  color: var(--verde-corporativo);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  padding: 0 24px 22px;
  max-height: 300px;
}

/* ==========================================================================
   SECCIÓN CONTACTO & COTIZACIÓN
   ========================================================================== */

.contact-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 95px 32px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 40px;
}

.contact-info-panel h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.meta-icon-box {
  width: 44px;
  height: 44px;
  background: var(--verde-subtle);
  border: 1px solid rgba(36, 148, 77, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-laser);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-meta-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.contact-meta-item a,
.contact-meta-item span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-meta-item a:hover {
  color: var(--verde-laser);
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 40px;
}

.contact-form-panel h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde-corporativo);
  background: rgba(36, 148, 77, 0.05);
  box-shadow: 0 0 10px rgba(36, 148, 77, 0.25);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: #050709;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0;
  line-height: 1.6;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--verde-laser);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* WhatsApp Flotante */
.whatsapp-float {
  z-index: 9999;
  position: fixed;
  bottom: 20px; right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
  background-color: #22c35e;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 1200px) {
  #nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.82rem;
  }
  .calculator-card-wrapper {
    grid-template-columns: 1fr;
  }
  .app-content-display {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .blueprint-grid-layout,
  .contact-layout,
  .footer-top-grid,
  .pdf-showcase-banner {
    grid-template-columns: 1fr;
  }
  
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-main-title {
    font-size: 2.8rem;
  }
  
  #nav-menu {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-main-title {
    font-size: 2.1rem;
  }
  
  .hero-key-specs {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .pdf-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar {
    display: none;
  }

  .lines-grid, .projects-grid, .anatomy-grid {
    grid-template-columns: 1fr;
  }
  .app-filter-pills {
    flex-wrap: wrap;
    justify-content: center;
  }
  .section-heading-lg {
    font-size: 1.8rem;
  }
  body {
    overflow-x: hidden;
  }
}
@media (max-width: 768px) {
  body, html {
    overflow-x: hidden !important;
    width: 100%;
  }
  .lines-grid, .projects-grid, .anatomy-grid {
    grid-template-columns: 1fr !important;
  }
  .app-filter-pills {
    flex-wrap: wrap;
    justify-content: center;
  }
  .section-heading-lg {
    font-size: 1.8rem;
  }
  .top-bar {
    display: none !important;
  }
  .header-container {
    padding: 12px 15px;
    gap: 15px;
  }
  .header-cta {
    display: none !important; /* Hide "Cotizar" button to make room for logo */
  }
  .brand-logo-img {
    max-height: 40px; /* Make logo smaller to fit mobile */
  }
  .hero-main-title {
    font-size: 2.2rem !important;
  }
}
@media (max-width: 768px) {
  /* Fix padding that was crushing the content on small screens */
  .hero-engineering-section {
    padding: 60px 15px 40px !important;
  }
  .main-container, .hero-container {
    padding: 0 10px !important;
  }
  body, html {
    width: 100% !important; /* NOT 100vw */
    overflow-x: hidden !important;
  }
  .mobile-sticky-cta a, .mobile-sticky-cta button {
    padding: 12px 10px !important;
    font-size: 14px !important;
  }
}





@media (max-width: 768px) {
  /* Prevent any long words or URLs from breaking the grid */
  * {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  /* Fix calculator overflowing on mobile */
  .calculator-card-wrapper {
    padding: 20px 15px !important;
  }
  .result-specs-grid {
    grid-template-columns: 1fr !important;
  }
  .calc-select {
    max-width: 100%;
    text-overflow: ellipsis;
  }
  /* Allow buttons to wrap their text on small screens instead of pushing the boundary */
  .btn-primary, .btn-calc-pdf, .btn-download-pdf {
    white-space: normal !important;
    height: auto !important;
    line-height: 1.4 !important;
    text-align: center;
  }
  
  /* Shrink headings slightly more to ensure long words like AGROINDUSTRIALES fit */
  .section-heading-lg {
    font-size: 1.6rem !important;
    hyphens: auto;
  }
}
@media (max-width: 768px) {
  /* 1. Global Section Padding Reduction (Prevents the left-padding right-overflow bug) */
  section, .lines-section, .comparative-section, .projects-section, .blueprints-section, .workflow-section, .contact-section, .calculator-section, .downloads-pdf-section, .faq-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* 2. Card Inner Padding Reduction */
  .line-body, .feature-box, .project-card, .contact-info-panel, .contact-form-panel, .pdf-doc-card, .pdf-showcase-banner, .step-card {
    padding: 20px 14px !important;
  }

  /* 3. Button Width & Padding Optimization */
  .btn-primary, .btn-secondary, .btn-calc-pdf, .btn-download-pdf, .pdf-filter-btn {
    padding: 12px 14px !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* 4. Ensure grids truly shrink */
  .anatomy-grid, .lines-grid, .projects-grid, .pdf-cards-grid, .workflow-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* === HERO CATALOG & ELEVATOR DIMENSIONADOR STYLES === */

  /* Catálogo en Primer Plano con Video de Fondo (Hero) */
  .hero-catalog-section {
    position: relative !important;
    width: 100% !important;
    min-height: auto !important;
    display: block !important;
    overflow: hidden !important;
    padding: 100px 32px 85px !important;
    background: #080b0e !important;
  }
  .hero-catalog-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .hero-catalog-section .line-card {
    background: rgba(13, 20, 28, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(36, 148, 77, 0.35) !important;
  }
  .hero-catalog-section .line-card:hover {
    border-color: #00e676 !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 230, 118, 0.25) !important;
  }

  /* Dimensionador: Resultados en Lado Izquierdo & Controles en Lado Derecho */
  .calculator-card-wrapper {
    display: grid !important;
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: 40px !important;
    align-items: start !important;
  }
  .calc-results-panel {
    order: 1 !important;
  }
  .calc-inputs-col {
    order: 2 !important;
  }

  /* Tarjetas Métricas de Resultados para Elevador */
  .elevator-results-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin: 18px 0 24px 0 !important;
  }
  .result-metric-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    transition: all 0.25s ease !important;
  }
  .result-metric-card:hover {
    border-color: rgba(0, 230, 118, 0.45) !important;
    background: rgba(36, 148, 77, 0.08) !important;
  }
  .result-metric-card.highlight-motor {
    background: linear-gradient(135deg, rgba(36, 148, 77, 0.18) 0%, rgba(13, 20, 28, 0.94) 100%) !important;
    border: 1.5px solid rgba(0, 230, 118, 0.55) !important;
    box-shadow: 0 6px 24px rgba(0, 230, 118, 0.16) !important;
  }
  .metric-label {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .metric-label i {
    color: #00e676 !important;
  }
  .metric-value {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: var(--font-main, 'Montserrat', sans-serif) !important;
    letter-spacing: -0.3px !important;
  }
  .highlight-value {
    color: #00e676 !important;
    font-size: 1.85rem !important;
  }
  .metric-subtext {
    font-size: 0.76rem !important;
    color: #a7f3d0 !important;
    font-style: italic !important;
    margin-top: 2px !important;
  }

  @media (max-width: 992px) {
    .hero-catalog-section {
      padding: 85px 15px 50px !important;
    }
    .calculator-card-wrapper {
      grid-template-columns: 1fr !important;
      gap: 28px !important;
      padding: 24px 18px !important;
    }
    .calc-inputs-col {
      order: 1 !important;
    }
    .calc-results-panel {
      order: 2 !important;
    }
  }
