/* =================================================================atiende
   ESTILOS UNIFICADOS - EQUIPOS FLIR & BIS
   =================================================================== */

:root {
  --bis-primary: #0f172a;
  --bis-accent: #0284c7;
  --bis-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --bis-glow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

body {
  font-family: 'Inter', sans-serif;
  color: #334155;
  overflow-x: hidden;
}

/* ==========================================================================
   CABECERAS INNOVADORAS (BACKGROUNDS DINÁMICOS)
   ========================================================================== */
.page-header {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.9));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
}

/* ==========================================================================
   CATÁLOGO HERO PRO (BACKGROUND DINÁMICO)
   ========================================================================== */
.catalog-hero-pro {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-image: url('../img/bis_linea_prueba_y_medicion.png');
    padding: 80px 0;
}


/* Capa de gradiente con transparencia superior para que la imagen luzca */
.catalog-hero-pro::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.80)) !important;
    z-index: 1 !important;
}

/* Asegurar que el contenido interno quede por encima del gradiente */
.catalog-hero-pro .container {
    position: relative !important;
    z-index: 2 !important;
}

.catalog-hero-extech {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-image: url('../img/bis-equipos-instrumentacion-extech.png');
    padding: 80px 0;
}


/* Capa de gradiente con transparencia superior para que la imagen luzca */
.catalog-hero-extech::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.90)) !important;
    z-index: 1 !important;
}

/* Asegurar que el contenido interno quede por encima del gradiente */
.catalog-hero-extech .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Fondos específicos por equipo */
.header-e54 { background-image: url('../img/bis_linea__e54_flir.png'); }
.header-e76 { background-image: url('../img/bis_linea__e76_flir.png'); }
.header-e86 { background-image: url('../img/bis_linea__e86_flir.png'); }
.header-e96 { background-image: url('../img/bis_linea__e96_flir.png'); }
.header-g609 { background-image: url('../img/bis_linea__ogi_g609_flir.png'); }
.header-g306 { background-image: url('../img/bis_linea__ogi_gf306_flir.png'); }
.header-gx620 { background-image: url('../img/bis_linea__ogi_g_series_flir.png'); }
.header-i35 { background-image: url('../img/bis_linea__i35_thermal_flir.png'); }
.header-i65 { background-image: url('../img/bis_linea__i65_thermal_flir.png'); }
.header-si2-ld { background-image: url('../img/bis_linea_acustico_si2_ld.png'); }
.header-si2-pd { background-image: url('../img/bis_linea_acustico_si2_pd.png'); }
.header-si2-pro { background-image: url('../img/bis_linea_acustico_si2_pro.png'); }
.header-t540 { background-image: url('../img/bis_linea_t540_thermal_flir.png'); }
.header-t560 { background-image: url('../img/bis_linea_t560_thermal_flir.png'); }
.header-t840 { background-image: url('../img/bis_linea_t840_thermal_flir.png'); }
.header-t865 { background-image: url('../img/bis_linea_t865_thermal_flir.png'); }
.header-t1020 { background-image: url('../img/bis_linea_t1020_thermal_flir.png'); }

/* =================================================================
   TARJETAS DE ESPECIFICACIONES MODERNAS
   =================================================================== */
.spec-table-modern {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.spec-table-modern th, 
.spec-table-modern td {
  padding: 18px 24px;
  vertical-align: middle;
}

.spec-table-modern tr:nth-child(even) {
  background-color: #f8fafc;
}

.spec-table-modern tr:hover {
  background-color: #f1f5f9;
  transition: background 0.2s ease;
}


/* =================================================================
   GALERÍA INTERACTIVA PRO
   =================================================================== */
.galeria-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.galeria-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.galeria-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(2, 132, 199, 0.15);
  border-color: var(--bis-accent);
}

.galeria-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-item .caption {
  padding: 16px;
  font-weight: 600;
  color: var(--bis-primary);
  text-align: center;
  background: #ffffff;
}


/* =================================================================
   TARJETAS DE BENEFICIOS
   =================================================================== */
.feature-card-pro {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card-pro:hover {
  border-color: var(--bis-accent);
  box-shadow: var(--bis-glow);
}


/* =================================================================
   BOTONES DE ALTA CONVERSIÓN
   =================================================================== */
.btn-pro-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.25);
  transition: all 0.3s ease;
  border: none;
}

.btn-pro-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(2, 132, 199, 0.35);
  color: #ffffff;
}

.btn-pro-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
  transition: all 0.3s ease;
  border: none;
}

.btn-pro-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(16, 185, 129, 0.35);
  color: #ffffff;
}