.investigacion {
  padding: 100px 0;
  background: #fff;
}

.investigacion-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.header-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(95, 30, 30, 0.1) 0%, rgba(95, 30, 30, 0.05) 100%);
  color: #5f1e1e;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(95, 30, 30, 0.2);
}

.investigacion-header h2 {
  color: #5f1e1e;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.investigacion-header p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.investigacion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.investigacion-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  border: 2px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.investigacion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e8a210, #d4920a);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.investigacion-card:hover {
  transform: translateY(-10px);
  border-color: #e8a210;
  box-shadow: 0 25px 50px rgba(95, 30, 30, 0.12);
}

.investigacion-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #5f1e1e 0%, #7a2828 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(95, 30, 30, 0.2);
}

.investigacion-card:hover .card-icon {
  background: linear-gradient(135deg, #e8a210 0%, #d4920a 100%);
  box-shadow: 0 12px 35px rgba(232, 162, 16, 0.35);
}

.card-icon svg,
.card-icon i {
  width: 40px;
  height: 40px;
  color: #fff;
}

.investigacion-card h3 {
  margin-bottom: 12px;
  color: #5f1e1e;
  font-size: 1.25rem;
  font-weight: 700;
}

.investigacion-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5f1e1e;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid #5f1e1e;
  transition: all 0.3s ease;
}

.btn-card:hover {
  background: #e8a210;
  border-color: #e8a210;
  color: #fff;
  gap: 12px;
}

.btn-card svg,
.btn-card i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-card:hover svg,
.btn-card:hover i {
  transform: translateX(4px);
}

.investigacion-cta {
  text-align: center;
  margin-top: 60px;
}

.investigacion-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #e8a210 0%, #d4920a 100%);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(232, 162, 16, 0.4);
  border: none;
}

.investigacion-cta .btn-primary:hover {
  background: linear-gradient(135deg, #5f1e1e 0%, #7a2828 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(95, 30, 30, 0.4);
}

.investigacion-cta .btn-primary svg,
.investigacion-cta .btn-primary i {
  width: 20px;
  height: 20px;
}

@media (max-width: 992px) {
  .investigacion-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .investigacion {
    padding: 70px 0;
  }
  
  .investigacion-header {
    margin-bottom: 40px;
  }
  
  .investigacion-header h2 {
    font-size: 1.5rem;
  }
  
  .investigacion-header p {
    font-size: 0.95rem;
  }
  
  .investigacion-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .investigacion-card {
    padding: 35px 25px;
  }
  
  .card-icon {
    width: 75px;
    height: 75px;
  }
  
  .card-icon svg,
  .card-icon i {
    width: 32px;
    height: 32px;
  }
  
  .investigacion-cta {
    margin-top: 40px;
  }
  
  .investigacion-cta a {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .investigacion {
    padding: 60px 0;
  }
  
  .investigacion-card {
    padding: 30px 20px;
  }
  
  .card-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
  }
  
  .investigacion-card h3 {
    font-size: 1.1rem;
  }
  
  .investigacion-card p {
    font-size: 0.9rem;
  }
}